<?php
	session_start();
	
	if (!isset($_SESSION["taikhoan"]))
	{
		header("Location: ad-dangnhap.php");
	}
	
	include 'connect.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Trang Chủ Quản Trị</title>
<style type="text/css">

a	{
		color: #00CC00;
		text-decoration: none;
	}
.mau{background:#FFCC99;}
image{border:none;}

a:hover { COLOR: #CC0000}

.style1 {
	color: #FFFFFF;
	font-weight: bold;
	font-size: 30px;
}
.style2 {
	font-size: 18px;
	font-weight: bold;
	color: #FFFFFF;
  
}
.style3 {font-size: 14px; font-weight: bold; color: #FFFFFF; }
.style4 {color: #006600; font-weight: bold; font-size: 18px; }
.style5 {color:#0000000; font-weight: bold; font-size: 18px; }

</style>
</head>

<body>
<table width="900" height="600" border="0" bordercolorlight="#CCCCCC" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #CCCCCC">

<!-- đầu trang --> 	
    <tr> <td width="900" height="70" background="image/header.gif">
    	
        <table width="100%" height="100%" border="0"> 
             <tr>
       		
				    <td width="10%" rowspan="2"><img src="image/logo.gif" width="100%" height="70" /></td>
					
					<td width="60%" rowspan="2" height="70" align="center" style="font-size:24px"><div align="right">
					  <blockquote>
						<p><span class="style1">Website ĐÁNH GIÁ HỌC PHẦN</span></p>
					  </blockquote>
				  </div></td>
        
            </tr> 
			
			<tr>
				<td width="32%" valign="bottom" colspan="2" align="right"> <table>
					  <tr><td valign="bottom">
					  <div align="center" class="style3">
						<a class="style3"  href="huongdan.php">Hướng dẫn</a> | <a class="style3" href="ad-trangchu.php">Trang chủ</a> | <a class="style3" href="logout.php">Thoát</a></div></td></tr>
					  <tr><td valign="bottom">
					  <div align="center" class="style3">Xin chào Quản trị</div></td></tr> 
					  <tr><td align="center"><span><a href="ad-trangchu.php?nav=doimk" class="style3"><b>Đổi mật khẩu</b></a></span></td></tr>
				       </table>
			    </td> 
			</tr>
			
	    </table>
    
    </td> </tr>
<!--menu ngang -->
   <tr bordercolor="#999999" height="10" valign="top">
             <td valign="top" >
							<style> 
							#navbar { margin: 0; padding: 0; height: 1.5em;} 
							#navbar li { list-style: none; float: left; font-size:18px; font-weight:bold;} 
							#navbar li a { display: block; padding: 3px 8px; background:url(image/bg_header.gif); color: #fff; text-decoration: none;width:11.58em; text-align:center;} 
							#navbar li ul { display: none; width:8em; background:url(image/bg_header.gif);} 
							#navbar li:hover ul, #navbar li.hover ul { display: block; position: absolute; margin: 0; padding: 0; } 
							#navbar li:hover li, #navbar li.hover li { float: none; } 
							#navbar li:hover li a, #navbar li.hover li a { color:white;} 
							#navbar li a:hover { background:url(image/header.gif); } 
							</style> 
							
							 
							<ul id="navbar">
								<li><a href="ad-trangchu.php?nav=cnsv">Cập nhật Sinh Viên</a>
								    <ul>
									     <li>
										      <a href="ad-trangchu.php?nav=uploadsv">Upload file excel</a>
										  </li>
									</ul>
								 </li>
								
								<li><a href="ad-trangchu.php?nav=cngv">Cập nhật Giảng Viên</a>
								     <ul>
									     <li>
										      <a href="ad-trangchu.php?nav=uploadgv">Upload file excel</a>
										  </li>
									</ul>
								</li>
								
								<li><a href="#">Cập nhật Khoa</a>
								   <ul>
										  <li>
											 <a href="ad-trangchu.php?nav=ttkhoa">Thông Tin Khoa</a>
										  </li>
										  <li>
											 <a href="ad-trangchu.php?nav=bomon">Bộ Môn </a>
										  </li>
										  <li>
											 <a href="ad-trangchu.php?nav=lopsv"> Lớp Sinh Viên</a>
										  </li>
								   </ul>
								</li>
								<li><a href="ad-trangchu.php?nav=cndbcl">Cập nhật TTĐBCL</a></li>
							</ul>


			 </td>
   </tr>

<!-- thân trang -->  	
    <tr height="450"> 
	      <td valign="top" bordercolor="#FFFFFF">
    	                  <?php
						  if (isset($_GET['nav']))
						  {
						           $nav = $_GET['nav'];
								   if ($nav=="cnsv") include "ad-capnhatsv.php";
								   else if($nav=="cngv") include "ad-capnhatgv.php";
								   else if($nav=="ttkhoa")  include "ad-capnhatkhoa.php";
								   else if($nav=="bomon")  include "ad-capnhatbomon.php";
								   else if($nav=="lopsv")  include "ad-capnhatlopsv.php"; 
								   else if($nav=="cndbcl")  include "ad-capnhatdbcl.php";
								   else if($nav=="themsv") include "ad-themsv.php";
								   else if($nav=="themgv") include "ad-themgv.php";
								   else if($nav=="themkhoa") include "ad-themkhoa.php";
								   else if($nav=="thembm") include "ad-thembomon.php"; 
								   else if($nav=="uploadsv") include "ad-uploadsv.php";
								   else if($nav=="uploadgv") include "ad-uploadgv.php";
								   else if($nav=="doimk") include "frmDoiMK.php";
							}
						  ?>
         </td>
	 </tr>

<!-- cuối trang -->  
	<tr> 
	      <td height="28" background="image/footer.gif" class="style3" align="center" > Copyright @ by Đỗ Thị Thùy Linh
	     </td>
    </tr>
<!-- het cuoi trang-->

</table>

</body>
</html>

